﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Prototypes
{
    /// <summary>
    /// Lógica de interacción para AllPsicologistReports.xaml
    /// </summary>
    public partial class AllPsicologistReports : UserControl
    {
        public class Information
        {
            public long Id { get; set; }
            public string Actor { get; set; }
            public string ActorCi { get; set; }
            public string Psicologist { get; set; }
            public string PsicologistCi { get; set; }
            public string Date { get; set; }
        }

        public AllPsicologistReports()
        {
            InitializeComponent();
            listViewComplaints.DataContext = new ObservableCollection<Information>()
                            {
                                new Information() {Id=1698123, Actor = "Ana Lobardo", ActorCi = "4523422", Psicologist = "Pedro Mamani", PsicologistCi = "1235537", Date="03/03/10"},
                                new Information() {Id=98433, Actor = "John Clinton", ActorCi = "3452346", Psicologist = "Luis Choke", PsicologistCi = "6354565", Date="15/04/10"},
                                new Information() {Id=314721, Actor = "Ana Lobardo", ActorCi = "4523422", Psicologist = "Pedro Mamani", PsicologistCi = "1235537", Date="03/05/10"}
                            };
        }

        private void MenuItem2_Click(object sender, RoutedEventArgs e)
        {
            Content.Children.Clear();
            Content.Children.Add(new PsicologistReport());
        }

        private void MenuItem_Click(object sender, RoutedEventArgs e)
        {
            Content.Children.Clear();
            Content.Children.Add(new PsicologistReport());
        }
    }
}
